# abstract class for new_node definitions, you should complete the do and retry method
import abc


class NodeMethod(abc.ABC):
    @abc.abstractmethod
    def do(self, context):
        """do method. Will be called when new_node is inited"""

    @abc.abstractmethod
    def retry(self, context):
        """retry method. If new_node's status's retry, this method will be called at nextBattleTime"""
